-- https://github.com/petertriho/nvim-scrollbar

local colors = {
    -- color  = "#292E42",
    color  = "#DEDEDE",
    Search = "#FC8670",
    Error  = "#FD6883",
    Warn   = "#FFD886",
    Info   = "#A9DC76",
    Hint   = "#78DCE8",
    Misc   = "#AB9DF2"
}

require("scrollbar").setup(
    {
        handle = {
            -- 滚动条颜色
            color = colors.color
        },
        marks = {
            -- 诊断颜色，需要 LSP 支持
            Search = {color = colors.Search},
            Error  = {color = colors.Error},
            Warn   = {color = colors.Warn},
            Info   = {color = colors.Info},
            Hint   = {color = colors.Hint},
            Misc   = {color = colors.Misc}
        }
    }
)